
/*
 * @Author: Sam
 * @Date: 2025-04-28 17:40:45
 * @LastEditTime: 2025-08-20 16:25:58
 * @LastEditors: Sam
 */
import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import router from './router'
import { Utils } from './utils/Utils'
import { Config, type GISViewer } from 'gis-viewer';
import { ENVConfig } from './configs/ENVConfig'
import App from './App.vue'


Config.API_BASE_URL = ENVConfig.API_BASE_URL;

//全局对象初始化promise
window.gisvDefer = Utils.defer<GISViewer>();

const app = createApp(App);

app.use(createPinia());
app.use(router);

app.mount('#app');
